package pnu.creational.builderpattern;

public class BuilderPatternDemo {
	public static void main(String[] args) {
		
		MealBuilder mealBuilder = new MealBuilder();
		
		Meal vegMeal = mealBuilder.prepareVegModel();
		System.out.println("Veg Meal");
		vegMeal.showItem();
		System.out.println(vegMeal.getCost());
		
		Meal nonVegMeal = mealBuilder.prepareNonVegMeal();
		System.out.println("\n\nNog-veg Meal");
		nonVegMeal.showItem();
		System.out.println("Total Cost : "+nonVegMeal.getCost());
	}
}
